Swap encryption pr2 swap capability#6785
Open
DevVegeta wants to merge 6 commits into
Open
Conversation
…5); manifest moved to data/cluster and rendered via vm_util
…stub - Remove duplicate FLAGS = flags.FLAGS - Remove unused import re - DaemonSet: lean (fio/cryptsetup/mdadm/sysstat/nvme-cli only) - Remove cgroup v2 memory.swap.max hack (r3457928855) - Add _configure_eks_kubelet_swap() stub for nodeadm (PR GoogleCloudPlatform#6780) - Fix COS_CONTAINERD -> UBUNTU_CONTAINERD (r3472549985) - swapConfig auto-enables memorySwapBehavior=LimitedSwap (r3472513706)
f83f078 to
6afbfe1
Compare
- Prepare() uses SwapNodePool + SwapDaemonSet from spec.resources - Cleanup() is empty - PKB framework auto-deletes spec.resources - All _pod_exec(pod, ...) calls replaced with daemonset.PodExec(...) - DaemonSet: lean (fio/cryptsetup/mdadm/sysstat/nvme-cli only) - Remove cgroup v2 memory.swap.max hack (r3457928855) - Add _configure_eks_kubelet_swap() stub for nodeadm (PR GoogleCloudPlatform#6780) - Fix COS_CONTAINERD -> UBUNTU_CONTAINERD (r3472549985) - swapConfig auto-enables memorySwapBehavior=LimitedSwap (r3472513706)
- Prepare() uses SwapNodePool + SwapDaemonSet from spec.resources - Cleanup() is empty - PKB framework auto-deletes spec.resources - All _pod_exec(pod, ...) calls replaced with daemonset.PodExec(...) - DaemonSet: lean (fio/cryptsetup/mdadm/sysstat/nvme-cli only) - Remove cgroup v2 memory.swap.max hack (r3457928855) - Add _configure_eks_kubelet_swap() stub for nodeadm (PR GoogleCloudPlatform#6780) - Fix COS_CONTAINERD -> UBUNTU_CONTAINERD (r3472549985) - swapConfig auto-enables memorySwapBehavior=LimitedSwap (r3472513706)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(swap_encryption/pr2): swap device setup for all 8 test-matrix cells
Stacked PR 2/5. Inherits PR1 framework (swap_config as NodepoolSpec field).
Benchmark nodepool provisioned automatically by GKE cluster creation — no manual nodepool lifecycle in Prepare().
Adds dm-crypt swap device setup paths for all 8 test-matrix cells:
Changes vs PR1:
setup_gke_hyperdisk(),setup_gke_lssd(),setup_gke_boot_disk()— dm-crypt config per disk typesetup_eks_instance_store(),setup_eks_io2()— EKS dm-crypt setup_configure_eks_kubelet_swap()stub for nodeadm (deferred to PR Add swap_config to node-pool spec #6780)memory.swap.maxhack (r3457928855)swapConfigauto-enablesmemorySwapBehavior=LimitedSwap(r3472513706)